package com.ddone.util.mock;

import com.alibaba.fastjson.JSON;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
 * @author ddone
 * @date 2024/5/15-09:50
 */
public class LogUtil {
    private static final Logger log = LoggerFactory.getLogger(LogUtil.class);

    public static void logToJson(Object logObject) {
        log.info(JSON.toJSONString(logObject));
    }

    public static void log(String logString) {
        log.info(logString);
    }
}
